﻿using FreeSql.DataAnnotations;
using System;

namespace Quartz.NET.Web.Models
{
    
    public class BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column(IsPrimary =true,DbType ="varchar(40)")]
        public string Id { get; set; }=Guid.NewGuid().ToString();
        /// <summary>
        /// 创建日期
        /// </summary>
        [Column(DbType ="varchar(40)")]
        public string Create_Date { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
        /// <summary>
        /// 更新日期
        /// </summary>
        [Column(DbType ="varchar(40)")]
        public string Modify_Date { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
    }
}
